html,
body {
  padding: 0;
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen, Ubuntu, Cantarell,
    Fira Sans, Droid Sans, Helvetica Neue, sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

* {
  box-sizing: border-box;
}

.text-right {
  text-align: right;
}

.main {
  min-height: 100vh;
  padding: 4rem 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.navbar {
  z-index: 10000;
  position: fixed;
  top: 0;
  width: 100%;
}

.footer {
  left: 0;
  bottom: 0;
  width: 100%;
  margin-top: 4rem;
  flex: 1;
  padding: 2rem 0;
  border-top: 1px solid #eaeaea;
  justify-content: center;
  align-items: center;
}

.footer a {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-grow: 1;
}

/* HOME PAGE */

.title a {
  color: #0070f3;
  text-decoration: none;
}

.title a:hover,
.title a:focus,
.title a:active {
  text-decoration: underline;
}

.title {
  margin: 0;
  line-height: 1.15;
  font-size: 4rem;
}

.title,
.description {
  text-align: center;
}

.description {
  margin: 4rem 0;
  line-height: 1.5;
  font-size: 1.5rem;
}

.code {
  background: #fafafa;
  border-radius: 5px;
  padding: 0.75rem;
  font-size: 1.1rem;
  font-family: Menlo, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono,
    Bitstream Vera Sans Mono, Courier New, monospace;
}

.grid {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 800px;
}

.card {
  margin: 1rem;
  padding: 1.5rem;
  text-align: left;
  color: inherit;
  text-decoration: none;
  border: 1px solid #eaeaea;
  border-radius: 10px;
  transition: color 0.15s ease, border-color 0.15s ease;
  max-width: 300px;
}

.card:hover,
.card:focus,
.card:active {
  color: #0070f3;
  border-color: #0070f3;
}

.card h2 {
  margin: 0 0 1rem 0;
  font-size: 1.5rem;
}

.card p {
  margin: 0;
  font-size: 1.25rem;
  line-height: 1.5;
}

.logo {
  height: 1em;
  margin-left: 0.5rem;
}

@media (max-width: 600px) {
  .grid {
    width: 100%;
    flex-direction: column;
  }
}

/* Products Detail*/

.product-item {
  vertical-align: top;
  display: inline-block;
  text-align: center;
}

.product-item .caption {
  display: block;
  font-style: italic;
}

.checked {
  color: orange;
}

.item-product {
  transition: transform 0.2s; /* Animation */
}

.item-product:hover {
  color: #0070f3;
  transform: scale(1.1);
}

/* style for paging */
.pagination-container {
  width: 100%;
  height: 36.5px;
  list-style: none;
  display: flex;
  justify-content: flex-end;
}

.pagination-container .previous-btn a {
  border-top-left-radius: 18px;
  border-bottom-left-radius: 18px;
  border-right: none;
  padding-left: 14px;
}

.pagination-container .next-btn a {
  border-top-right-radius: 18px;
  border-bottom-right-radius: 18px;
  border-left: none;
  padding-right: 14px;
}

.pagination-container a {
  font-size: 14px;
  display: block;
  padding: 6px 12px;
  border: 1px solid rgb(188, 183, 183);
  color: #000;
}

.pagination-container a:hover {
  color: white !important;
  background-color: black;
}

.pagination-active a {
  color: #fff !important;
  font-weight: bold;
  background-color: #000;
}

.pagination-disabled a {
  color: rgb(91, 91, 91) !important;
  background-color: white;
}

.pagination-disabled a:hover {
  color: rgb(91, 91, 91) !important;
  background-color: #fff;
  cursor: default;
}

/*---------------------
  banner
-----------------------*/

.banner-section {
  display: flex;
  align-items: center;
  padding: 45px 0 40px;
  background-image: url('../common/images/bg_banner.jpg');
}

.banner__text h2 {
  font-size: 46px;

  font-weight: 700;
}

.banner__option a {
  display: inline-block;
  font-size: 16px;
  font-weight: 700;
  margin-right: 20px;
  position: relative;
}

.banner__option a:after {
  position: absolute;
  right: -12px;
  top: 13px;
  height: 1px;
  width: 10px;
  content: '';
}

.banner__option span {
  display: inline-block;
  font-size: 16px;
}

.form-select:focus,
.form-select:focus-visible {
  border-color: #ced4da;
  box-shadow: inherit;
}

.form-select {
  height: 50px;
}

#drawer {
  bottom: 0;
  max-width: 300px;
  z-index: 100;
  min-height: 350px;
  box-shadow: var(--box-shadow);
  transform: translateX(0);
  transition: all 0.3s linear;
  border: 1px solid #bbbbbb;
}

.left-menu-element {
  border-bottom: 1px solid #fafafa;
  height: '70px';
}

.left-menu-element h5 {
  color: #666666;
}

.left-menu-element:hover {
  background-color: #eeeeee;
}

.btn-create-address {
  background-color: rgb(255, 255, 255);
  font-size: 15px;
  height: 60px;
  border: 1px dashed rgb(216, 216, 216);
  margin: 0px 0px 10px;
  display: flex;
  -webkit-box-align: center;
  align-items: center;
  -webkit-box-pack: center;
  justify-content: center;
}

.btn-create-address:hover {
  color: #0070f3;
}
